package com.ftg.learn.rbac.service;

import com.ftg.learn.rbac.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import javax.servlet.http.HttpSession;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author kangjx
 * @since 2022-03-23
 */
public interface IUserService extends IService<User> {

    Map<String,Object> checkUser(String account, String passwords,HttpSession session);

    boolean saveForPassword(User u);

    boolean updateIce(int id,int num);

    boolean updateUserInfo(int uid, String uaccount, String uname);

    boolean resetPassword(int uid);

    String logedByPermssion(Integer uid);
}
